﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/System/System.master" Inherits="System.Web.Mvc.ViewPage<AFI.Speargun.Web.Models.Currency>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    货币类型 - 新建
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        新建</h2>
    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>
    <% using (Html.BeginForm())
       {%>
    <fieldset>
        <legend>货币类型</legend>
        <p>
            <label for="Appellation">
                名称:</label>
            <%= Html.TextBox("Appellation", null, new { @class = "input-box", @size = 50 })%>
            <%= Html.ValidationMessage("Appellation", "*") %>
        </p>
        <p>
            <label for="Symbol">
                货币符号:</label>
            例如: CNY, HKD, USD, EUR ...
            <%= Html.TextBox("Symbol", null, new { @class = "input-box", @size = 10 })%>
            <%= Html.ValidationMessage("Symbol", "*") %>
        </p>
        <p>
            <label for="SymbolFormat">
                格式化模板:</label>
            {0}: 货币符号, {1:F}: 金额.
            <%= Html.TextBox("SymbolFormat", null, new { @class = "input-box", @size = 10 })%>
            <%= Html.ValidationMessage("SymbolFormat", "*") %>
        </p>
        <p>
            <input type="submit" value="提交" />
        </p>
    </fieldset>
    <% } %>
    <div>
        <%=Html.ActionLink("返回到列表", "IndexCurrency")%>
    </div>
</asp:Content>
